import request from "@/axios"

export function login(username, password) {
    return request.post("/admin/employee/login", {username, password})
}

export function getAdminInfo() {
    return request.get("/admin/employee/detail")
}

export function updateAdminPassword(data) {
    return request.put("/admin/employee/updatePassword", data)
}
